package mspbots.hubspot.client.core.contacts;

import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotNull;
import java.util.List;
import java.util.Map;

/**
 * mspbots.hubspot.client.core.contacts.ContactUpdateBody
 *
 * @author <a href="https://github.com/vnobo">Alex bob</a>
 * @date Created by 2020/9/18
 */
@Data
@Validated
public class ContactUpdateBody {

    /**
     * tenant user admin emails;
     */
    @NotNull
    private List<String> emails;
    /**
     * tenant data row;
     */
    @NotNull
    private Map<String, String> properties;

}
